package cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.service;

import cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.entity.FundArrival;
import cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.mapper.FundArrivalMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FundArrivalService {
    @Autowired
    private FundArrivalMapper fundArrivalMapper;

    public String save(FundArrival fundArrival) {
        if (fundArrivalMapper.insert(fundArrival)) {
            return "保存成功";
        }
        return "保存失败";
    }
}